package com.woniuxy.carlife.carlifenewcomplaintsweb.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author yp
 * @ClassName:StoreMessage
 * @Description:门店消息实体类
 * @date 2021/4/7 2:32
 **/
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_store_message")
@ApiModel(value="StoreMessage对象", description="")
public class StoreMessage implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "id")
        @TableId(value = "store_message_id", type = IdType.AUTO)
      private Integer storeMessageId;

      @ApiModelProperty(value = "门店id")
      private Integer storeId;

      @ApiModelProperty(value = "消息类别id")
      private Integer messageCategoryId;

      @ApiModelProperty(value = "内容")
      private String storeMessageContent;

      @ApiModelProperty(value = "状态")
      private Integer storeMessageState;

      @ApiModelProperty(value = "创建时间")
        @TableField(fill = FieldFill.INSERT)
      private Date gmtCreate;

      @ApiModelProperty(value = "修改时间")
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date gmtModified;


}
